home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •The Arcade• / Billiard Parlour •••• / Billiard Parlour / Billiard Parlour.rsrc / CODE_5.txt < prev    next >
Text File  |  1986-02-26  |  76KB  |  1,321 lines

  1. # near model CODE resource
  2. # jump table entries: 480-486 (7 of them)
  3. fn00000000:
  4. 00000000  41FA 018A                lea.l      A0, [PC + 0x18A /* 0000018C, value 0x0, cstring "" */]
  5. 00000004  D1FC 0000 003E           add.l      A0, 0x3E /* '>' */
  6. 0000000A  48E0 FF7F                movem.l    -[A0], D0,D1,D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A5,A6,A7
  7. 0000000E  41FA 017C                lea.l      A0, [PC + 0x17C /* 0000018C, value 0x0, cstring "" */]
  8. 00000012  50D0                     st         [A0]
  9. 00000014  286F 000A                movea.l    A4, [A7 + 0xA]
  10. 00000018  21CC 0A78                move.l     [0x00000A78 /* ApplScratch */], A4
  11. 0000001C  206F 000E                movea.l    A0, [A7 + 0xE]
  12. 00000020  302F 0012                move.w     D0, [A7 + 0x12]
  13. 00000024  322F 0008                move.w     D1, [A7 + 0x8]
  14. 00000028  342F 0006                move.w     D2, [A7 + 0x6]
  15. 0000002C  362F 0004                move.w     D3, [A7 + 0x4]
  16. 00000030  225F                     movea.l    A1, [A7]+
  17. 00000032  DEFC 0010                add.w      A7, 0x10
  18. 00000036  2F09                     move.l     -[A7], A1
  19. 00000038  43FA 0152                lea.l      A1, [PC + 0x152 /* 0000018C, value 0x0, cstring "" */]
  20. 0000003C  234F 003A                move.l     [A1 + 0x3A], A7
  21. 00000040  4A41                     tst.w      D1
  22. 00000042  6700 000E                beq        +0x10 /* 00000052 */
  23. 00000046  3F02                     move.w     -[A7], D2
  24. 00000048  0C41 0001                cmpi.w     D1, 0x1
  25. 0000004C  6700 0004                beq        +0x6 /* 00000052 */
  26. 00000050  3F03                     move.w     -[A7], D3
  27. label00000052:
  28. 00000052  2230 0000                move.l     D1, [A0 + D0.w]
  29. 00000056  6700 0006                beq        +0x8 /* 0000005E */
  30. 0000005A  4EB0 1800                jsr        [A0 + D1]
  31. label0000005E:
  32. 0000005E  41FA 012C                lea.l      A0, [PC + 0x12C /* 0000018C, value 0x0, cstring "" */]
  33. 00000062  5488                     addq.l     A0, 2
  34. 00000064  4CD8 FEFF                movem.l    D0,D1,D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A5,A6,A7, [A0]+
  35. 00000068  41FA 0122                lea.l      A0, [PC + 0x122 /* 0000018C, value 0x0, cstring "" */]
  36. 0000006C  51D0                     sf         [A0]
  37. 0000006E  4E75                     rts
  38. fn00000070:
  39. 00000070  41FA 000E                lea.l      A0, [PC + 0xE /* 00000080, value 0x41FA010A */]
  40. 00000074  21C8 0A8C                move.l     [0x00000A8C /* RestProc/ResumeProc */], A0
  41. 00000078  4E75                     rts
  42. export_61:
  43. fn0000007A:
  44. 0000007A  42B8 0A8C                clr.l      [0x00000A8C /* RestProc/ResumeProc */]
  45. 0000007E  4E75                     rts
  46. label00000080:
  47. 00000080  41FA 010A                lea.l      A0, [PC + 0x10A /* 0000018C, value 0x0, cstring "" */]
  48. 00000084  4A50                     tst.w      [A0]
  49. 00000086  6600 0004                bne        +0x6 /* 0000008C */
  50. 0000008A  4E70                     reset
  51. label0000008C:
  52. 0000008C  41FA 00FE                lea.l      A0, [PC + 0xFE /* 0000018C, value 0x0, cstring "" */]
  53. 00000090  5488                     addq.l     A0, 2
  54. 00000092  4CD8 FEFF                movem.l    D0,D1,D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A5,A6,A7, [A0]+
  55. 00000096  41FA 00F4                lea.l      A0, [PC + 0xF4 /* 0000018C, value 0x0, cstring "" */]
  56. 0000009A  51D0                     sf         [A0]
  57. 0000009C  487A 0008                pea.l      [PC + 0x8 /* 000000A6, value 0x24E77, cstring "" */]
  58. 000000A0  4EBA 0050                jsr        [PC + 0x50 /* 000000F2 */]
  59. 000000A4  4E75                     rts
  60. 000000A6  0002 4E77                ori.b      D2, 0x77 /* 'w' */
  61. 000000AA  41FA FFFC                lea.l      A0, [PC - 0x4 /* 000000A8, value 0x4E7741FA */]
  62. 000000AE  21C8 0070                move.l     [0x00000070 /* __m68k_vec_switch__ */], A0
  63. 000000B2  21C8 0074                move.l     [0x00000074 /* __m68k_vec_switch_via__ */], A0
  64. 000000B6  21C8 0078                move.l     [0x00000078 /* __m68k_vec_switch_scc__ */], A0
  65. 000000BA  21C8 007C                move.l     [0x0000007C /* __m68k_vec_switch_via_scc__ */], A0
  66. label000000BE:
  67. 000000BE  2038 016A                move.l     D0, [0x0000016A /* Ticks */]
  68. 000000C2  0680 0000 003C           addi.l     D0, 0x3C /* '<' */
  69. 000000C8  027C F8FF                andi.w     sr, 63743
  70. label000000CC:
  71. 000000CC  40C1                     move.w     D1, SR
  72. 000000CE  0241 0700                andi.w     D1, 0x700
  73. 000000D2  66EA                     bne        -0x14 /* 000000BE */
  74. 000000D4  B0B8 016A                cmp.l      D0, [0x0000016A /* Ticks */]
  75. 000000D8  62F2                     bhi        -0xC /* 000000CC */
  76. 000000DA  41FA FFCE                lea.l      A0, [PC - 0x32 /* 000000AA, value 0x41FAFFFC */]
  77. 000000DE  21C8 0070                move.l     [0x00000070 /* __m68k_vec_switch__ */], A0
  78. 000000E2  21C8 0074                move.l     [0x00000074 /* __m68k_vec_switch_via__ */], A0
  79. 000000E6  21C8 0078                move.l     [0x00000078 /* __m68k_vec_switch_scc__ */], A0
  80. 000000EA  21C8 007C                move.l     [0x0000007C /* __m68k_vec_switch_via_scc__ */], A0
  81. 000000EE  4EFA FF90                jmp        [PC - 0x70 /* 00000080 */]
  82. export_60:
  83. fn000000F2:
  84. 000000F2  206F 0004                movea.l    A0, [A7 + 0x4]
  85. 000000F6  0C50 0001                cmpi.w     [A0], 0x1
  86. 000000FA  6700 0018                beq        +0x1A /* 00000114 */
  87. 000000FE  0C50 0002                cmpi.w     [A0], 0x2
  88. 00000102  6700 0048                beq        +0x4A /* 0000014C */
  89. 00000106  0C50 0003                cmpi.w     [A0], 0x3
  90. 0000010A  6700 0068                beq        +0x6A /* 00000174 */
  91. label0000010E:
  92. 0000010E  205F                     movea.l    A0, [A7]+
  93. 00000110  588F                     addq.l     A7, 4
  94. 00000112  4ED0                     jmp        [A0]
  95. label00000114:
  96. 00000114  41FA 0076                lea.l      A0, [PC + 0x76 /* 0000018C, value 0x0, cstring "" */]
  97. 00000118  4AA8 003E                tst.l      [A0 + 0x3E]
  98. 0000011C  66F0                     bne        -0xE /* 0000010E */
  99. 0000011E  2178 0070 003E           move.l     [A0 + 0x3E], [0x00000070 /* __m68k_vec_switch__ */]
  100. 00000124  2178 0074 0042           move.l     [A0 + 0x42], [0x00000074 /* __m68k_vec_switch_via__ */]
  101. 0000012A  2178 0078 0046           move.l     [A0 + 0x46], [0x00000078 /* __m68k_vec_switch_scc__ */]
  102. 00000130  2178 007C 004A           move.l     [A0 + 0x4A], [0x0000007C /* __m68k_vec_switch_via_scc__ */]
  103. 00000136  41FA FF72                lea.l      A0, [PC - 0x8E /* 000000AA, value 0x41FAFFFC */]
  104. 0000013A  21C8 0070                move.l     [0x00000070 /* __m68k_vec_switch__ */], A0
  105. 0000013E  21C8 0074                move.l     [0x00000074 /* __m68k_vec_switch_via__ */], A0
  106. 00000142  21C8 0078                move.l     [0x00000078 /* __m68k_vec_switch_scc__ */], A0
  107. 00000146  21C8 007C                move.l     [0x0000007C /* __m68k_vec_switch_via_scc__ */], A0
  108. 0000014A  60C2                     bra        -0x3C /* 0000010E */
  109. label0000014C:
  110. 0000014C  41FA 003E                lea.l      A0, [PC + 0x3E /* 0000018C, value 0x0, cstring "" */]
  111. 00000150  4AA8 003E                tst.l      [A0 + 0x3E]
  112. 00000154  67B8                     beq        -0x46 /* 0000010E */
  113. 00000156  21E8 003E 0070           move.l     [0x00000070 /* __m68k_vec_switch__ */], [A0 + 0x3E]
  114. 0000015C  21E8 0042 0074           move.l     [0x00000074 /* __m68k_vec_switch_via__ */], [A0 + 0x42]
  115. 00000162  21E8 0046 0078           move.l     [0x00000078 /* __m68k_vec_switch_scc__ */], [A0 + 0x46]
  116. 00000168  21E8 004A 007C           move.l     [0x0000007C /* __m68k_vec_switch_via_scc__ */], [A0 + 0x4A]
  117. 0000016E  42A8 003E                clr.l      [A0 + 0x3E]
  118. 00000172  609A                     bra        -0x64 /* 0000010E */
  119. label00000174:
  120. 00000174  43FA 0016                lea.l      A1, [PC + 0x16 /* 0000018C, value 0x0, cstring "" */]
  121. 00000178  4AA9 003E                tst.l      [A1 + 0x3E]
  122. 0000017C  6600 0008                bne        +0xA /* 00000186 */
  123. 00000180  30BC 0002                move.w     [A0], 0x2
  124. 00000184  6088                     bra        -0x76 /* 0000010E */
  125. label00000186:
  126. 00000186  30BC 0001                move.w     [A0], 0x1
  127. 0000018A  6082                     bra        -0x7C /* 0000010E */
  128. 0000018C  0000 0000                ori.b      D0, 0x0
  129. 00000190  0000 0000                ori.b      D0, 0x0
  130. 00000194  0000 0000                ori.b      D0, 0x0
  131. 00000198  0000 0000                ori.b      D0, 0x0
  132. 0000019C  0000 0000                ori.b      D0, 0x0
  133. 000001A0  0000 0000                ori.b      D0, 0x0
  134. 000001A4  0000 0000                ori.b      D0, 0x0
  135. 000001A8  0000 0000                ori.b      D0, 0x0
  136. 000001AC  0000 0000                ori.b      D0, 0x0
  137. 000001B0  0000 0000                ori.b      D0, 0x0
  138. 000001B4  0000 0000                ori.b      D0, 0x0
  139. 000001B8  0000 0000                ori.b      D0, 0x0
  140. 000001BC  0000 0000                ori.b      D0, 0x0
  141. 000001C0  0000 0000                ori.b      D0, 0x0
  142. 000001C4  0000 0000                ori.b      D0, 0x0
  143. 000001C8  0000 0000                ori.b      D0, 0x0
  144. 000001CC  0000 0000                ori.b      D0, 0x0
  145. 000001D0  0000 0000                ori.b      D0, 0x0
  146. 000001D4  0000 0000                ori.b      D0, 0x0
  147. 000001D8  0000 0C6F                ori.b      D0, 0x6F /* 'o' */
  148. export_62: // at 000001DA (misaligned)
  149. 000001DC  0001 0008                ori.b      D1, 0x8
  150. 000001E0  6712                     beq        +0x14 /* 000001F4 */
  151. 000001E2  0C6F 0002 0008           cmpi.w     [A7 + 0x8], 0x2
  152. 000001E8  6746                     beq        +0x48 /* 00000230 */
  153. 000001EA  0C6F 0003 0008           cmpi.w     [A7 + 0x8], 0x3
  154. 000001F0  6736                     beq        +0x38 /* 00000228 */
  155. 000001F2  604C                     bra        +0x4E /* 00000240 */
  156. label000001F4:
  157. 000001F4  41FA 005C                lea.l      A0, [PC + 0x5C /* 00000252, value 0x0, cstring "" */]
  158. 000001F8  20AF 0004                move.l     [A0], [A7 + 0x4]
  159. 000001FC  41FA 0058                lea.l      A0, [PC + 0x58 /* 00000256, value 0x0, cstring "" */]
  160. 00000200  20B8 01AA                move.l     [A0], [0x000001AA]
  161. 00000204  41FA 0040                lea.l      A0, [PC + 0x40 /* 00000246, value 0x10290800 */]
  162. 00000208  21C8 01AA                move.l     [0x000001AA], A0
  163. 0000020C  2078 01D4                movea.l    A0, [0x000001D4 /* VIA */]
  164. 00000210  0028 0040 1600           ori.b      [A0 + 0x1600], 0x40 /* '@' */
  165. 00000216  117C 00C0 1C00           move.b     [A0 + 0x1C00], 0xC0
  166. 0000021C  117C 000E 0C00           move.b     [A0 + 0xC00], 0xE
  167. 00000222  117C 0003 0A00           move.b     [A0 + 0xA00], 0x3
  168. label00000228:
  169. 00000228  207A 0028                movea.l    A0, [PC + 0x28 /* 00000252, value 0x0, cstring "" */]
  170. 0000022C  4290                     clr.l      [A0]
  171. 0000022E  6010                     bra        +0x12 /* 00000240 */
  172. label00000230:
  173. 00000230  2078 01D4                movea.l    A0, [0x000001D4 /* VIA */]
  174. 00000234  117C 0040 1C00           move.b     [A0 + 0x1C00], 0x40 /* '@' */
  175. 0000023A  21FA 001A 01AA           move.l     [0x000001AA], [PC + 0x1A /* 00000256, value 0x0, cstring "" */]
  176. label00000240:
  177. 00000240  205F                     movea.l    A0, [A7]+
  178. 00000242  5C4F                     addq.w     A7, 6
  179. 00000244  4ED0                     jmp        [A0]
  180. 00000246  1029 0800                move.b     D0, [A1 + 0x800]
  181. 0000024A  207A 0006                movea.l    A0, [PC + 0x6 /* 00000252, value 0x0, cstring "" */]
  182. 0000024E  5290                     addq.l     [A0], 1
  183. 00000250  4E75                     rts
  184. 00000252  0000 0000                ori.b      D0, 0x0
  185. 00000256  0000 0000                ori.b      D0, 0x0
  186. fn0000025A:
  187. 0000025A  4E56 0000                link       A6, 0
  188. 0000025E  701E                     moveq.l    D0, 0x1E
  189. 00000260  3200                     move.w     D1, D0
  190. 00000262  E641                     asr        D1.w, 3
  191. 00000264  41ED FBC4                lea.l      A0, [A5 - 0x43C]
  192. 00000268  0130 1000                btst       [A0 + D1.w], D0
  193. 0000026C  6706                     beq        +0x8 /* 00000274 */
  194. 0000026E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  195. 00000272  A873                     syscall    SetPort
  196. label00000274:
  197. 00000274  4E5E                     unlink     A6
  198. 00000276  2E9F                     move.l     [A7], [A7]+
  199. 00000278  4E75                     rts
  200. fn0000027A:
  201. 0000027A  4E56 0000                link       A6, 0
  202. 0000027E  1B7C 0001 FBD3           move.b     [A5 - 0x42D], 0x1
  203. 00000284  1B6E 0008 FBD2           move.b     [A5 - 0x42E], [A6 + 0x8]
  204. 0000028A  4E5E                     unlink     A6
  205. 0000028C  205F                     movea.l    A0, [A7]+
  206. 0000028E  544F                     addq.w     A7, 2
  207. 00000290  4ED0                     jmp        [A0]
  208. fn00000292:
  209. 00000292  4E56 FFF6                link       A6, -0x000A
  210. 00000296  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  211. 0000029A  286E 0008                movea.l    A4, [A6 + 0x8]
  212. 0000029E  42A7                     clr.l      -[A7]
  213. 000002A0  2F2D FBD6                move.l     -[A7], [A5 - 0x42A]
  214. 000002A4  4EAD 00CA                jsr        [A5 + 0xCA /* export_21 */]
  215. 000002A8  289F                     move.l     [A4], [A7]+
  216. 000002AA  2D6D FBD6 FFFA           move.l     [A6 - 0x6], [A5 - 0x42A]
  217. 000002B0  4267                     clr.w      -[A7]
  218. 000002B2  3F2D FBDA                move.w     -[A7], [A5 - 0x426]
  219. 000002B6  486E FFFA                pea.l      [A6 - 0x6]
  220. 000002BA  2F14                     move.l     -[A7], [A4]
  221. 000002BC  4EAD 0072                jsr        [A5 + 0x72 /* export_10 */]
  222. 000002C0  3E1F                     move.w     D7, [A7]+
  223. 000002C2  4267                     clr.w      -[A7]
  224. 000002C4  4267                     clr.w      -[A7]
  225. 000002C6  3F07                     move.w     -[A7], D7
  226. 000002C8  486D FBDC                pea.l      [A5 - 0x424]
  227. 000002CC  487A 00B2                pea.l      [PC + 0xB2 /* 00000380, value 0x10476574, pstring "GetCode : FSRead" */]
  228. 000002D0  4EAD 03B2                jsr        [A5 + 0x3B2 /* export_114 */]
  229. 000002D4  101F                     move.b     D0, [A7]+
  230. 000002D6  6708                     beq        +0xA /* 000002E0 */
  231. 000002D8  1F3C 0001                move.b     -[A7], 0x1
  232. 000002DC  4EBA FF9C                jsr        [PC - 0x64 /* 0000027A */]
  233. label000002E0:
  234. 000002E0  102D FBD3                move.b     D0, [A5 - 0x42D]
  235. 000002E4  0A00 0001                xori.b     D0, 0x1
  236. 000002E8  671C                     beq        +0x1E /* 00000306 */
  237. 000002EA  2054                     movea.l    A0, [A4]
  238. 000002EC  0C50 0005                cmpi.w     [A0], 0x5
  239. 000002F0  6C14                     bge        +0x16 /* 00000306 */
  240. 000002F2  4267                     clr.w      -[A7]
  241. 000002F4  3F3C 0132                move.w     -[A7], 0x132
  242. 000002F8  42A7                     clr.l      -[A7]
  243. 000002FA  A986                     syscall    StopAlert
  244. 000002FC  3C1F                     move.w     D6, [A7]+
  245. 000002FE  1F3C 0002                move.b     -[A7], 0x2
  246. 00000302  4EBA FF76                jsr        [PC - 0x8A /* 0000027A */]
  247. label00000306:
  248. 00000306  4267                     clr.w      -[A7]
  249. 00000308  3F2D FBDA                move.w     -[A7], [A5 - 0x426]
  250. 0000030C  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  251. 00000310  3E1F                     move.w     D7, [A7]+
  252. 00000312  4267                     clr.w      -[A7]
  253. 00000314  4267                     clr.w      -[A7]
  254. 00000316  3F07                     move.w     -[A7], D7
  255. 00000318  486D FBDC                pea.l      [A5 - 0x424]
  256. 0000031C  487A 0050                pea.l      [PC + 0x50 /* 0000036E, value 0x11476574, pstring "GetCode - FSClose" */]
  257. 00000320  4EAD 03B2                jsr        [A5 + 0x3B2 /* export_114 */]
  258. 00000324  1A1F                     move.b     D5, [A7]+
  259. 00000326  41ED FE42                lea.l      A0, [A5 - 0x1BE]
  260. 0000032A  43ED FBDC                lea.l      A1, [A5 - 0x424]
  261. 0000032E  7010                     moveq.l    D0, 0x10
  262. label00000330:
  263. 00000330  20D9                     move.l     [A0]+, [A1]+
  264. 00000332  5340                     subq.w     D0, 1
  265. 00000334  6EFA                     bgt        -0x4 /* 00000330 */
  266. 00000336  3B6D FBD4 FDBE           move.w     [A5 - 0x242], [A5 - 0x42C]
  267. 0000033C  4267                     clr.w      -[A7]
  268. 0000033E  42A7                     clr.l      -[A7]
  269. 00000340  3F2D FDBE                move.w     -[A7], [A5 - 0x242]
  270. 00000344  4EAD 0172                jsr        [A5 + 0x172 /* export_42 */]
  271. 00000348  3E1F                     move.w     D7, [A7]+
  272. 0000034A  4267                     clr.w      -[A7]
  273. 0000034C  486D FBDC                pea.l      [A5 - 0x424]
  274. 00000350  A997                     syscall    OpenResFile
  275. 00000352  3B5F FAD2                move.w     [A5 - 0x52E], [A7]+
  276. 00000356  4267                     clr.w      -[A7]
  277. 00000358  42A7                     clr.l      -[A7]
  278. 0000035A  3F2D FD9A                move.w     -[A7], [A5 - 0x266]
  279. 0000035E  4EAD 0172                jsr        [A5 + 0x172 /* export_42 */]
  280. 00000362  3E1F                     move.w     D7, [A7]+
  281. 00000364  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  282. 00000368  4E5E                     unlink     A6
  283. 0000036A  2E9F                     move.l     [A7], [A7]+
  284. 0000036C  4E75                     rts
  285. 0000036E  1147 6574                move.b     [A0 + 0x6574], D7
  286. 00000372  436F 6465                chk.w      D1, [A7 + 0x6465]
  287. 00000376  202D 2046                move.l     D0, [A5 + 0x2046]
  288. 0000037A  5343                     subq.w     D3, 1
  289. 0000037C  6C6F                     bge        +0x71 /* 000003ED */
  290. 0000037E  7365                     moveq.l    D1, 0x65
  291. 00000380  1047                     movea.b    A0, D7
  292. 00000382  6574                     bcs        +0x76 /* 000003F8 */
  293. 00000384  436F 6465                chk.w      D1, [A7 + 0x6465]
  294. 00000388  203A 2046                move.l     D0, [PC + 0x2046 /* 000023D0, cstring ""<EOF> */]
  295. 0000038C  5352                     subq.w     [A2], 1
  296. 0000038E  6561                     bcs        +0x63 /* 000003F1 */
  297. 00000390  6400 4E56                bcc        +0x4E58 /* 000051E8 */
  298. // begin alternate branch 00000392-00000396
  299. fn00000392:
  300. 00000392  4E56 FFFC                link       A6, -0x0004
  301. // end alternate branch 00000392-00000396
  302. fn00000392: // (misaligned)
  303. 00000394  FFFC                     .invalid   <<F/7/7>>
  304. 00000396  48E7 0018                movem.l    -[A7], A3,A4
  305. 0000039A  266E 000C                movea.l    A3, [A6 + 0xC]
  306. 0000039E  42A7                     clr.l      -[A7]
  307. 000003A0  202B 005A                move.l     D0, [A3 + 0x5A]
  308. 000003A4  7216                     moveq.l    D1, 0x16
  309. 000003A6  D081                     add.l      D0, D1
  310. 000003A8  2F00                     move.l     -[A7], D0
  311. 000003AA  4EAD 00CA                jsr        [A5 + 0xCA /* export_21 */]
  312. 000003AE  285F                     movea.l    A4, [A7]+
  313. 000003B0  200C                     move.l     D0, A4
  314. 000003B2  7216                     moveq.l    D1, 0x16
  315. 000003B4  D081                     add.l      D0, D1
  316. 000003B6  206E 0008                movea.l    A0, [A6 + 0x8]
  317. 000003BA  2080                     move.l     [A0], D0
  318. 000003BC  288B                     move.l     [A4], A3
  319. 000003BE  422C 0004                clr.b      [A4 + 0x4]
  320. 000003C2  422C 0005                clr.b      [A4 + 0x5]
  321. 000003C6  396B 005E 0006           move.w     [A4 + 0x6], [A3 + 0x5E]
  322. 000003CC  296D FCBA 0008           move.l     [A4 + 0x8], [A5 - 0x346]
  323. 000003D2  426C 000C                clr.w      [A4 + 0xC]
  324. 000003D6  41ED FB16                lea.l      A0, [A5 - 0x4EA]
  325. 000003DA  2948 000E                move.l     [A4 + 0xE], A0
  326. 000003DE  41ED FB1A                lea.l      A0, [A5 - 0x4E6]
  327. 000003E2  2948 0012                move.l     [A4 + 0x12], A0
  328. 000003E6  4CDF 1800                movem.l    A3,A4, [A7]+
  329. 000003EA  4E5E                     unlink     A6
  330. 000003EC  205F                     movea.l    A0, [A7]+
  331. 000003EE  504F                     addq.w     A7, 8
  332. 000003F0  4ED0                     jmp        [A0]
  333. fn000003F2:
  334. 000003F2  4E56 FF00                link       A6, -0x0100
  335. 000003F6  206E 000A                movea.l    A0, [A6 + 0xA]
  336. // begin alternate branch 000003F8-000003FE
  337. label000003F8:
  338. 000003F8  000A 43EE                ori.b      A2, 0xEE
  339. 000003FC  FF00                     .extension 0xF00 <<F/4-5/7>> // unimplemented
  340. // end alternate branch 000003F8-000003FE
  341. label000003F8: // (misaligned)
  342. 000003FA  43EE FF00                lea.l      A1, [A6 - 0x100]
  343. 000003FE  7040                     moveq.l    D0, 0x40
  344. label00000400:
  345. 00000400  22D8                     move.l     [A1]+, [A0]+
  346. 00000402  5340                     subq.w     D0, 1
  347. 00000404  6EFA                     bgt        -0x4 /* 00000400 */
  348. 00000406  2F2D FCBA                move.l     -[A7], [A5 - 0x346]
  349. 0000040A  4EAD 00EA                jsr        [A5 + 0xEA /* export_25 */]
  350. 0000040E  2F2D 000C                move.l     -[A7], [A5 + 0xC]
  351. 00000412  487A 0050                pea.l      [PC + 0x50 /* 00000464, value 0xE536572, pstring "Serial error: " */]
  352. 00000416  4267                     clr.w      -[A7]
  353. 00000418  4EAD 01C2                jsr        [A5 + 0x1C2 /* export_52 */]
  354. 0000041C  2F2D 000C                move.l     -[A7], [A5 + 0xC]
  355. 00000420  486E FF00                pea.l      [A6 - 0x100]
  356. 00000424  4267                     clr.w      -[A7]
  357. 00000426  4EAD 01C2                jsr        [A5 + 0x1C2 /* export_52 */]
  358. 0000042A  2F2D 000C                move.l     -[A7], [A5 + 0xC]
  359. 0000042E  1F3C 0020                move.b     -[A7], 0x20 /* ' ' */
  360. 00000432  3F3C 0001                move.w     -[A7], 0x1
  361. 00000436  4EAD 01B2                jsr        [A5 + 0x1B2 /* export_50 */]
  362. 0000043A  2F2D 000C                move.l     -[A7], [A5 + 0xC]
  363. 0000043E  302E 0008                move.w     D0, [A6 + 0x8]
  364. 00000442  48C0                     ext.l      D0
  365. 00000444  2F00                     move.l     -[A7], D0
  366. 00000446  4267                     clr.w      -[A7]
  367. 00000448  4EAD 01BA                jsr        [A5 + 0x1BA /* export_51 */]
  368. 0000044C  2F2D 000C                move.l     -[A7], [A5 + 0xC]
  369. 00000450  1F3C 000D                move.b     -[A7], 0xD /* '\r' */
  370. 00000454  3F3C 0001                move.w     -[A7], 0x1
  371. 00000458  4EAD 01B2                jsr        [A5 + 0x1B2 /* export_50 */]
  372. 0000045C  4E5E                     unlink     A6
  373. 0000045E  205F                     movea.l    A0, [A7]+
  374. 00000460  5C4F                     addq.w     A7, 6
  375. 00000462  4ED0                     jmp        [A0]
  376. 00000464  0E53 6572                .invalid.w [A3], 0x6572 /* 'er' */ // invalid immediate operation
  377. 00000468  6961                     bvs        +0x63 /* 000004CB */
  378. 0000046A  6C20                     bge        +0x22 /* 0000048C */
  379. 0000046C  6572                     bcs        +0x74 /* 000004E0 */
  380. 0000046E  726F                     moveq.l    D1, 0x6F
  381. 00000470  723A                     moveq.l    D1, 0x3A
  382. 00000472  2000                     move.l     D0, D0
  383. export_64:
  384. 00000474  4E56 FFF4                link       A6, -0x000C
  385. 00000478  48E7 0300                movem.l    -[A7], D6,D7
  386. 0000047C  42A7                     clr.l      -[A7]
  387. 0000047E  2F3C 0000 0400           move.l     -[A7], 0x400
  388. 00000484  4EAD 00CA                jsr        [A5 + 0xCA /* export_21 */]
  389. 00000488  2B5F FBCE                move.l     [A5 - 0x432], [A7]+
  390. label0000048C:
  391. 0000048C  4267                     clr.w      -[A7]
  392. 0000048E  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  393. 00000492  4A5F                     tst.w      [A7]+
  394. 00000494  672A                     beq        +0x2C /* 000004C0 */
  395. 00000496  2F2D FCBA                move.l     -[A7], [A5 - 0x346]
  396. 0000049A  4EAD 00EA                jsr        [A5 + 0xEA /* export_25 */]
  397. 0000049E  2F2D 000C                move.l     -[A7], [A5 + 0xC]
  398. 000004A2  487A 01A0                pea.l      [PC + 0x1A0 /* 00000644, value 0x1F536572, pstring "Serial error: buffer allocation" */]
  399. 000004A6  4267                     clr.w      -[A7]
  400. 000004A8  4EAD 01C2                jsr        [A5 + 0x1C2 /* export_52 */]
  401. 000004AC  2F2D 000C                move.l     -[A7], [A5 + 0xC]
  402. 000004B0  1F3C 000D                move.b     -[A7], 0xD /* '\r' */
  403. 000004B4  3F3C 0001                move.w     -[A7], 0x1
  404. 000004B8  4EAD 01B2                jsr        [A5 + 0x1B2 /* export_50 */]
  405. 000004BC  6000 00FC                bra        +0xFE /* 000005BA */
  406. label000004C0:
  407. 000004C0  4267                     clr.w      -[A7]
  408. 000004C2  1F2D FACD                move.b     -[A7], [A5 - 0x533]
  409. 000004C6  4EAD 0112                jsr        [A5 + 0x112 /* export_30 */]
  410. 000004CA  3B5F FCB8                move.w     [A5 - 0x348], [A7]+
  411. 000004CE  4A6D FCB8                tst.w      [A5 - 0x348]
  412. 000004D2  671C                     beq        +0x1E /* 000004F0 */
  413. 000004D4  3F3C 0001                move.w     -[A7], 0x1
  414. 000004D8  A9C8                     syscall    SysBeep
  415. 000004DA  3F3C 0001                move.w     -[A7], 0x1
  416. 000004DE  A9C8                     syscall    SysBeep
  417. label000004E0:
  418. 000004E0  487A 013C                pea.l      [PC + 0x13C /* 0000061E, value 0x2543616E '%Can', pstring "Can\'t Open Serial Port -- Port in Use" */]
  419. 000004E4  3F2D FCB8                move.w     -[A7], [A5 - 0x348]
  420. 000004E8  4EBA FF08                jsr        [PC - 0xF8 /* 000003F2 */]
  421. 000004EC  6000 00CC                bra        +0xCE /* 000005BA */
  422. label000004F0:
  423. 000004F0  4267                     clr.w      -[A7]
  424. 000004F2  3F2D FACE                move.w     -[A7], [A5 - 0x532]
  425. 000004F6  2F2D FBCE                move.l     -[A7], [A5 - 0x432]
  426. 000004FA  3F3C 0400                move.w     -[A7], 0x400
  427. 000004FE  4EAD 0152                jsr        [A5 + 0x152 /* export_38 */]
  428. 00000502  3E1F                     move.w     D7, [A7]+
  429. 00000504  4A47                     tst.w      D7
  430. 00000506  670A                     beq        +0xC /* 00000512 */
  431. 00000508  487A 0102                pea.l      [PC + 0x102 /* 0000060C, value 0x10536572, pstring "SerSetBuf: input" */]
  432. 0000050C  3F07                     move.w     -[A7], D7
  433. 0000050E  4EBA FEE2                jsr        [PC - 0x11E /* 000003F2 */]
  434. label00000512:
  435. 00000512  7000                     moveq.l    D0, 0x00
  436. 00000514  1D40 FFF4                move.b     [A6 - 0xC], D0
  437. 00000518  7000                     moveq.l    D0, 0x00
  438. 0000051A  1D40 FFF5                move.b     [A6 - 0xB], D0
  439. 0000051E  7011                     moveq.l    D0, 0x11
  440. 00000520  1D40 FFF6                move.b     [A6 - 0xA], D0
  441. 00000524  7013                     moveq.l    D0, 0x13
  442. 00000526  1D40 FFF7                move.b     [A6 - 0x9], D0
  443. 0000052A  7000                     moveq.l    D0, 0x00
  444. 0000052C  1D40 FFF8                move.b     [A6 - 0x8], D0
  445. 00000530  7000                     moveq.l    D0, 0x00
  446. 00000532  1D40 FFF9                move.b     [A6 - 0x7], D0
  447. 00000536  7001                     moveq.l    D0, 0x01
  448. 00000538  1D40 FFFA                move.b     [A6 - 0x6], D0
  449. 0000053C  7000                     moveq.l    D0, 0x00
  450. 0000053E  1D40 FFFB                move.b     [A6 - 0x5], D0
  451. 00000542  4267                     clr.w      -[A7]
  452. 00000544  3F2D FACE                move.w     -[A7], [A5 - 0x532]
  453. 00000548  486E FFF4                pea.l      [A6 - 0xC]
  454. 0000054C  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  455. 00000550  3E1F                     move.w     D7, [A7]+
  456. 00000552  4A47                     tst.w      D7
  457. 00000554  670A                     beq        +0xC /* 00000560 */
  458. 00000556  487A 00A2                pea.l      [PC + 0xA2 /* 000005FA, value 0x10536572, pstring "SerHShake: input" */]
  459. 0000055A  3F07                     move.w     -[A7], D7
  460. 0000055C  4EBA FE94                jsr        [PC - 0x16C /* 000003F2 */]
  461. label00000560:
  462. 00000560  4267                     clr.w      -[A7]
  463. 00000562  3F2D FAD0                move.w     -[A7], [A5 - 0x530]
  464. 00000566  486E FFF4                pea.l      [A6 - 0xC]
  465. 0000056A  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  466. 0000056E  3E1F                     move.w     D7, [A7]+
  467. 00000570  4A47                     tst.w      D7
  468. 00000572  670A                     beq        +0xC /* 0000057E */
  469. 00000574  487A 0072                pea.l      [PC + 0x72 /* 000005E8, value 0x11536572, pstring "SerHShake: output" */]
  470. 00000578  3F07                     move.w     -[A7], D7
  471. 0000057A  4EBA FE76                jsr        [PC - 0x18A /* 000003F2 */]
  472. label0000057E:
  473. 0000057E  3C3C CC5E                move.w     D6, 0xCC5E
  474. 00000582  4267                     clr.w      -[A7]
  475. 00000584  3F2D FACE                move.w     -[A7], [A5 - 0x532]
  476. 00000588  3F06                     move.w     -[A7], D6
  477. 0000058A  4EAD 0142                jsr        [A5 + 0x142 /* export_36 */]
  478. 0000058E  3E1F                     move.w     D7, [A7]+
  479. 00000590  4A47                     tst.w      D7
  480. 00000592  670A                     beq        +0xC /* 0000059E */
  481. 00000594  487A 0040                pea.l      [PC + 0x40 /* 000005D6, value 0x11536574, pstring "SetSetVars: input" */]
  482. 00000598  3F07                     move.w     -[A7], D7
  483. 0000059A  4EBA FE56                jsr        [PC - 0x1AA /* 000003F2 */]
  484. label0000059E:
  485. 0000059E  4267                     clr.w      -[A7]
  486. 000005A0  3F2D FAD0                move.w     -[A7], [A5 - 0x530]
  487. 000005A4  3F06                     move.w     -[A7], D6
  488. 000005A6  4EAD 0142                jsr        [A5 + 0x142 /* export_36 */]
  489. 000005AA  3E1F                     move.w     D7, [A7]+
  490. 000005AC  4A47                     tst.w      D7
  491. 000005AE  670A                     beq        +0xC /* 000005BA */
  492. 000005B0  487A 0010                pea.l      [PC + 0x10 /* 000005C2, value 0x12536574, pstring "SetSetVars: output" */]
  493. 000005B4  3F07                     move.w     -[A7], D7
  494. 000005B6  4EBA FE3A                jsr        [PC - 0x1C6 /* 000003F2 */]
  495. label000005BA:
  496. 000005BA  4CDF 00C0                movem.l    D6,D7, [A7]+
  497. 000005BE  4E5E                     unlink     A6
  498. 000005C0  4E75                     rts
  499. 000005C2  1253                     movea.b    A1, [A3]
  500. 000005C4  6574                     bcs        +0x76 /* 0000063A */
  501. 000005C6  5365                     subq.w     -[A5], 1
  502. 000005C8  7456                     moveq.l    D2, 0x56
  503. 000005CA  6172                     bsr        +0x74 /* 0000063E */
  504. 000005CC  733A                     moveq.l    D1, 0x3A
  505. 000005CE  206F 7574                movea.l    A0, [A7 + 0x7574]
  506. 000005D2  7075                     moveq.l    D0, 0x75
  507. 000005D4  7400                     moveq.l    D2, 0x00
  508. 000005D6  1153 6574                move.b     [A0 + 0x6574], [A3]
  509. 000005DA  5365                     subq.w     -[A5], 1
  510. 000005DC  7456                     moveq.l    D2, 0x56
  511. 000005DE  6172                     bsr        +0x74 /* 00000652 */
  512. 000005E0  733A                     moveq.l    D1, 0x3A
  513. 000005E2  2069 6E70                movea.l    A0, [A1 + 0x6E70]
  514. 000005E6  7574                     moveq.l    D2, 0x74
  515. 000005E8  1153 6572                move.b     [A0 + 0x6572], [A3]
  516. 000005EC  4853                     pea.l      [A3]
  517. 000005EE  6861                     bvc        +0x63 /* 00000651 */
  518. 000005F0  6B65                     bmi        +0x67 /* 00000657 */
  519. 000005F2  3A20                     move.w     D5, -[A0]
  520. 000005F4  6F75                     ble        +0x77 /* 0000066B */
  521. 000005F6  7470                     moveq.l    D2, 0x70
  522. 000005F8  7574                     moveq.l    D2, 0x74
  523. 000005FA  1053                     movea.b    A0, [A3]
  524. 000005FC  6572                     bcs        +0x74 /* 00000670 */
  525. 000005FE  4853                     pea.l      [A3]
  526. 00000600  6861                     bvc        +0x63 /* 00000663 */
  527. 00000602  6B65                     bmi        +0x67 /* 00000669 */
  528. 00000604  3A20                     move.w     D5, -[A0]
  529. 00000606  696E                     bvs        +0x70 /* 00000676 */
  530. 00000608  7075                     moveq.l    D0, 0x75
  531. 0000060A  7400                     moveq.l    D2, 0x00
  532. 0000060C  1053                     movea.b    A0, [A3]
  533. 0000060E  6572                     bcs        +0x74 /* 00000682 */
  534. 00000610  5365                     subq.w     -[A5], 1
  535. 00000612  7442                     moveq.l    D2, 0x42
  536. 00000614  7566                     moveq.l    D2, 0x66
  537. 00000616  3A20                     move.w     D5, -[A0]
  538. 00000618  696E                     bvs        +0x70 /* 00000688 */
  539. 0000061A  7075                     moveq.l    D0, 0x75
  540. 0000061C  7400                     moveq.l    D2, 0x00
  541. 0000061E  2543 616E                move.l     [A2 + 0x616E], D3
  542. 00000622  2774 204F 7065           move.l     [A3 + 0x7065], [A4 + D2.w + 0x4F]
  543. 00000628  6E20                     bgt        +0x22 /* 0000064A */
  544. 0000062A  5365                     subq.w     -[A5], 1
  545. 0000062C  7269                     moveq.l    D1, 0x69
  546. 0000062E  616C                     bsr        +0x6E /* 0000069C */
  547. 00000630  2050                     movea.l    A0, [A0]
  548. 00000632  6F72                     ble        +0x74 /* 000006A6 */
  549. 00000634  7420                     moveq.l    D2, 0x20
  550. 00000636  2D2D 2050                move.l     -[A6], [A5 + 0x2050]
  551. label0000063A:
  552. 0000063A  6F72                     ble        +0x74 /* 000006AE */
  553. 0000063C  7420                     moveq.l    D2, 0x20
  554. fn0000063E:
  555. 0000063E  696E                     bvs        +0x70 /* 000006AE */
  556. 00000640  2055                     movea.l    A0, [A5]
  557. 00000642  7365                     moveq.l    D1, 0x65
  558. 00000644  1F53 6572                move.b     [A7 + 0x6572], [A3]
  559. 00000648  6961                     bvs        +0x63 /* 000006AB */
  560. label0000064A:
  561. 0000064A  6C20                     bge        +0x22 /* 0000066C */
  562. 0000064C  6572                     bcs        +0x74 /* 000006C0 */
  563. 0000064E  726F                     moveq.l    D1, 0x6F
  564. 00000650  723A                     moveq.l    D1, 0x3A
  565. fn00000652:
  566. 00000652  2062                     movea.l    A0, -[A2]
  567. 00000654  7566                     moveq.l    D2, 0x66
  568. 00000656  6665                     bne        +0x67 /* 000006BD */
  569. 00000658  7220                     moveq.l    D1, 0x20
  570. 0000065A  616C                     bsr        +0x6E /* 000006C8 */
  571. 0000065C  6C6F                     bge        +0x71 /* 000006CD */
  572. 0000065E  6361                     bls        +0x63 /* 000006C1 */
  573. 00000660  7469                     moveq.l    D2, 0x69
  574. 00000662  6F6E                     ble        +0x70 /* 000006D2 */
  575. export_66:
  576. 00000664  4E56 0000                link       A6, 0
  577. 00000668  4A6D FCB8                tst.w      [A5 - 0x348]
  578. label0000066C:
  579. 0000066C  6608                     bne        +0xA /* 00000676 */
  580. 0000066E  1F2D FACD                move.b     -[A7], [A5 - 0x533]
  581. // begin alternate branch 00000670-00000676
  582. label00000670:
  583. 00000670  FACD 4EAD                .extension 0xACD <<F/2-3/5>> // unimplemented
  584. 00000674  010A                     btst       A2, D0
  585. // end alternate branch 00000670-00000676
  586. label00000670: // (misaligned)
  587. 00000672  4EAD 010A                jsr        [A5 + 0x10A /* export_29 */]
  588. label00000676:
  589. 00000676  4AAD FBCE                tst.l      [A5 - 0x432]
  590. 0000067A  6708                     beq        +0xA /* 00000684 */
  591. 0000067C  2F2D FBCE                move.l     -[A7], [A5 - 0x432]
  592. 00000680  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  593. // begin alternate branch 00000682-00000686
  594. label00000682:
  595. 00000682  0042 4E5E                ori.w      D2, 0x4E5E /* 'N^' */
  596. // end alternate branch 00000682-00000686
  597. label00000682: // (misaligned)
  598. label00000684:
  599. 00000684  4E5E                     unlink     A6
  600. 00000686  4E75                     rts
  601. fn00000688:
  602. 00000688  4E56 FFFA                link       A6, -0x0006
  603. 0000068C  700C                     moveq.l    D0, 0x0C
  604. 0000068E  3200                     move.w     D1, D0
  605. 00000690  E641                     asr        D1.w, 3
  606. 00000692  41ED FBC4                lea.l      A0, [A5 - 0x43C]
  607. 00000696  0130 1000                btst       [A0 + D1.w], D0
  608. 0000069A  6712                     beq        +0x14 /* 000006AE */
  609. fn0000069C:
  610. 0000069C  4EBA F9D2                jsr        [PC - 0x62E /* 00000070 */]
  611. 000006A0  3D7C 0001 FFFE           move.w     [A6 - 0x2], 0x1
  612. label000006A6:
  613. 000006A6  486E FFFE                pea.l      [A6 - 0x2]
  614. 000006AA  4EBA FA46                jsr        [PC - 0x5BA /* 000000F2 */]
  615. label000006AE:
  616. 000006AE  2F2D FCBA                move.l     -[A7], [A5 - 0x346]
  617. 000006B2  4EBA FBA6                jsr        [PC - 0x45A /* 0000025A */]
  618. 000006B6  3F2E 0016                move.w     -[A7], [A6 + 0x16]
  619. 000006BA  2F2E 0012                move.l     -[A7], [A6 + 0x12]
  620. 000006BE  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  621. // begin alternate branch 000006C0-000006C8
  622. label000006C0:
  623. 000006C0  000E 3F2E                ori.b      A6, 0x2E /* '.' */
  624. 000006C4  000C 3F2E                ori.b      A4, 0x2E /* '.' */
  625. // end alternate branch 000006C0-000006C8
  626. label000006C0: // (misaligned)
  627. 000006C2  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  628. 000006C6  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  629. // begin alternate branch 000006C8-000006D2
  630. fn000006C8:
  631. 000006C8  000A 3F2E                ori.b      A2, 0x2E /* '.' */
  632. 000006CC  0008 4EBA                ori.b      A0, 0xBA
  633. 000006D0  F930                     .extension 0x930 <<F/4-5/4>> // unimplemented
  634. // end alternate branch 000006C8-000006D2
  635. fn000006C8: // (misaligned)
  636. 000006CA  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  637. 000006CE  4EBA F930                jsr        [PC - 0x6D0 /* 00000000 */]
  638. label000006D2:
  639. 000006D2  700C                     moveq.l    D0, 0x0C
  640. 000006D4  3200                     move.w     D1, D0
  641. 000006D6  E641                     asr        D1.w, 3
  642. 000006D8  41ED FBC4                lea.l      A0, [A5 - 0x43C]
  643. 000006DC  0130 1000                btst       [A0 + D1.w], D0
  644. 000006E0  6744                     beq        +0x46 /* 00000726 */
  645. 000006E2  3D7C 0003 FFFE           move.w     [A6 - 0x2], 0x3
  646. 000006E8  486E FFFE                pea.l      [A6 - 0x2]
  647. 000006EC  4EBA FA04                jsr        [PC - 0x5FC /* 000000F2 */]
  648. 000006F0  0C6E 0002 FFFE           cmpi.w     [A6 - 0x2], 0x2
  649. 000006F6  661C                     bne        +0x1E /* 00000714 */
  650. 000006F8  202E 000E                move.l     D0, [A6 + 0xE]
  651. 000006FC  7216                     moveq.l    D1, 0x16
  652. 000006FE  9081                     sub.l      D0, D1
  653. 00000700  2D40 FFFA                move.l     [A6 - 0x6], D0
  654. 00000704  206E FFFA                movea.l    A0, [A6 - 0x6]
  655. 00000708  117C 0001 0005           move.b     [A0 + 0x5], 0x1
  656. 0000070E  1B7C 0001 FBCC           move.b     [A5 - 0x434], 0x1
  657. label00000714:
  658. 00000714  3D7C 0002 FFFE           move.w     [A6 - 0x2], 0x2
  659. 0000071A  486E FFFE                pea.l      [A6 - 0x2]
  660. 0000071E  4EBA F9D2                jsr        [PC - 0x62E /* 000000F2 */]
  661. 00000722  4EBA F956                jsr        [PC - 0x6AA /* 0000007A */]
  662. label00000726:
  663. 00000726  4E5E                     unlink     A6
  664. 00000728  205F                     movea.l    A0, [A7]+
  665. 0000072A  DEFC 0010                add.w      A7, 0x10
  666. 0000072E  4ED0                     jmp        [A0]
  667. fn00000730:
  668. 00000730  4E56 FFE4                link       A6, -0x001C
  669. 00000734  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  670. 00000738  2A2E 0008                move.l     D5, [A6 + 0x8]
  671. 0000073C  282E 000C                move.l     D4, [A6 + 0xC]
  672. 00000740  2004                     move.l     D0, D4
  673. 00000742  7216                     moveq.l    D1, 0x16
  674. 00000744  9081                     sub.l      D0, D1
  675. 00000746  2840                     movea.l    A4, D0
  676. 00000748  4267                     clr.w      -[A7]
  677. 0000074A  2F05                     move.l     -[A7], D5
  678. 0000074C  A86A                     syscall    HiWord
  679. 0000074E  3E1F                     move.w     D7, [A7]+
  680. 00000750  4267                     clr.w      -[A7]
  681. 00000752  2F05                     move.l     -[A7], D5
  682. 00000754  A86B                     syscall    LoWord
  683. 00000756  3C1F                     move.w     D6, [A7]+
  684. 00000758  0C47 0132                cmpi.w     D7, 0x132
  685. 0000075C  6606                     bne        +0x8 /* 00000764 */
  686. 0000075E  3E3C 0131                move.w     D7, 0x131
  687. 00000762  5646                     addq.w     D6, 3
  688. label00000764:
  689. 00000764  4A47                     tst.w      D7
  690. 00000766  6700 00C4                beq        +0xC6 /* 0000082C */
  691. 0000076A  3007                     move.w     D0, D7
  692. 0000076C  6B18                     bmi        +0x1A /* 00000786 */
  693. 0000076E  B07C 013F                cmp.w      D0, 0x13F
  694. 00000772  6E12                     bgt        +0x14 /* 00000786 */
  695. 00000774  41FA 00F0                lea.l      A0, [PC + 0xF0 /* 00000866, value 0x4E56FFE0 */]
  696. 00000778  3200                     move.w     D1, D0
  697. 0000077A  E649                     lsr        D1.w, 3
  698. 0000077C  4441                     neg.w      D1
  699. 0000077E  0130 10FF                btst       [A0 + D1.w - 0x1], D0
  700. 00000782  0A3C 0004                xori.b     ccr, 4
  701. label00000786:
  702. 00000786  6600 0086                bne        +0x88 /* 0000080E */
  703. 0000078A  0C47 0131                cmpi.w     D7, 0x131
  704. 0000078E  6658                     bne        +0x5A /* 000007E8 */
  705. 00000790  0C46 0004                cmpi.w     D6, 0x4
  706. 00000794  6610                     bne        +0x12 /* 000007A6 */
  707. 00000796  2004                     move.l     D0, D4
  708. 00000798  7216                     moveq.l    D1, 0x16
  709. 0000079A  9081                     sub.l      D0, D1
  710. 0000079C  2840                     movea.l    A4, D0
  711. 0000079E  197C 0001 0005           move.b     [A4 + 0x5], 0x1
  712. 000007A4  6066                     bra        +0x68 /* 0000080C */
  713. label000007A6:
  714. 000007A6  0C46 0005                cmpi.w     D6, 0x5
  715. 000007AA  663A                     bne        +0x3C /* 000007E6 */
  716. 000007AC  42A7                     clr.l      -[A7]
  717. 000007AE  3F3C 0194                move.w     -[A7], 0x194
  718. 000007B2  42A7                     clr.l      -[A7]
  719. 000007B4  70FF                     moveq.l    D0, 0xFFFFFFFF
  720. 000007B6  2F00                     move.l     -[A7], D0
  721. 000007B8  A97C                     syscall    GetNewDialog
  722. 000007BA  265F                     movea.l    A3, [A7]+
  723. 000007BC  2F0B                     move.l     -[A7], A3
  724. 000007BE  486E FFE4                pea.l      [A6 - 0x1C]
  725. 000007C2  4EAD 039A                jsr        [A5 + 0x39A /* export_111 */]
  726. 000007C6  2F0B                     move.l     -[A7], A3
  727. 000007C8  A915                     syscall    ShowWindow
  728. label000007CA:
  729. 000007CA  42A7                     clr.l      -[A7]
  730. 000007CC  486E FFF6                pea.l      [A6 - 0xA]
  731. 000007D0  A991                     syscall    ModalDialog
  732. 000007D2  0C6E 0001 FFF6           cmpi.w     [A6 - 0xA], 0x1
  733. 000007D8  66F0                     bne        -0xE /* 000007CA */
  734. 000007DA  2F0B                     move.l     -[A7], A3
  735. 000007DC  A983                     syscall    DisposeDialog
  736. 000007DE  486E FFE4                pea.l      [A6 - 0x1C]
  737. 000007E2  4EAD 0392                jsr        [A5 + 0x392 /* export_110 */]
  738. label000007E6:
  739. 000007E6  6044                     bra        +0x46 /* 0000082C */
  740. label000007E8:
  741. 000007E8  2F05                     move.l     -[A7], D5
  742. 000007EA  4EAD 004A                jsr        [A5 + 0x4A /* export_5 */]
  743. 000007EE  0C47 012D                cmpi.w     D7, 0x12D
  744. 000007F2  6618                     bne        +0x1A /* 0000080C */
  745. 000007F4  4267                     clr.w      -[A7]
  746. 000007F6  4EAD 00BA                jsr        [A5 + 0xBA /* export_19 */]
  747. 000007FA  101F                     move.b     D0, [A7]+
  748. 000007FC  670E                     beq        +0x10 /* 0000080C */
  749. 000007FE  2004                     move.l     D0, D4
  750. 00000800  7216                     moveq.l    D1, 0x16
  751. 00000802  9081                     sub.l      D0, D1
  752. 00000804  2840                     movea.l    A4, D0
  753. 00000806  197C 0001 0005           move.b     [A4 + 0x5], 0x1
  754. label0000080C:
  755. 0000080C  601E                     bra        +0x20 /* 0000082C */
  756. label0000080E:
  757. 0000080E  3F3C 001A                move.w     -[A7], 0x1A
  758. 00000812  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  759. 00000816  2F04                     move.l     -[A7], D4
  760. 00000818  3F3C 0002                move.w     -[A7], 0x2
  761. 0000081C  4267                     clr.w      -[A7]
  762. 0000081E  2F05                     move.l     -[A7], D5
  763. 00000820  A86A                     syscall    HiWord
  764. 00000822  4267                     clr.w      -[A7]
  765. 00000824  2F05                     move.l     -[A7], D5
  766. 00000826  A86B                     syscall    LoWord
  767. 00000828  4EBA FE5E                jsr        [PC - 0x1A2 /* 00000688 */]
  768. label0000082C:
  769. 0000082C  4267                     clr.w      -[A7]
  770. 0000082E  A938                     syscall    HiliteMenu
  771. 00000830  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  772. 00000834  4E5E                     unlink     A6
  773. 00000836  205F                     movea.l    A0, [A7]+
  774. 00000838  DEFC 000C                add.w      A7, 0xC
  775. 0000083C  4ED0                     jmp        [A0]
  776. 0000083E  0003 F000                ori.b      D3, 0x0
  777. 00000842  0000 0000                ori.b      D0, 0x0
  778. 00000846  0000 0000                ori.b      D0, 0x0
  779. 0000084A  0000 0000                ori.b      D0, 0x0
  780. 0000084E  0000 0000                ori.b      D0, 0x0
  781. 00000852  0000 0000                ori.b      D0, 0x0
  782. 00000856  0000 0000                ori.b      D0, 0x0
  783. 0000085A  0000 0000                ori.b      D0, 0x0
  784. 0000085E  0000 0000                ori.b      D0, 0x0
  785. 00000862  0000 0000                ori.b      D0, 0x0
  786. fn00000866:
  787. 00000866  4E56 FFE0                link       A6, -0x0020
  788. 0000086A  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  789. 0000086E  266E 0008                movea.l    A3, [A6 + 0x8]
  790. 00000872  2E2E 000C                move.l     D7, [A6 + 0xC]
  791. 00000876  200B                     move.l     D0, A3
  792. 00000878  7216                     moveq.l    D1, 0x16
  793. 0000087A  9081                     sub.l      D0, D1
  794. 0000087C  2840                     movea.l    A4, D0
  795. label0000087E:
  796. 0000087E  A9B4                     syscall    SystemTask
  797. 00000880  4EAD 011A                jsr        [A5 + 0x11A /* export_31 */]
  798. 00000884  4267                     clr.w      -[A7]
  799. 00000886  3F3C FFFF                move.w     -[A7], 0xFFFF
  800. 0000088A  486E FFEA                pea.l      [A6 - 0x16]
  801. 0000088E  A970                     syscall    GetNextEvent
  802. 00000890  101F                     move.b     D0, [A7]+
  803. 00000892  6700 0216                beq        +0x218 /* 00000AAA */
  804. 00000896  42A7                     clr.l      -[A7]
  805. 00000898  302C 0006                move.w     D0, [A4 + 0x6]
  806. 0000089C  48C0                     ext.l      D0
  807. 0000089E  2F00                     move.l     -[A7], D0
  808. 000008A0  42A7                     clr.l      -[A7]
  809. 000008A2  7001                     moveq.l    D0, 0x01
  810. 000008A4  2F00                     move.l     -[A7], D0
  811. 000008A6  3F2E FFEA                move.w     -[A7], [A6 - 0x16]
  812. 000008AA  A85C                     syscall    BitShift
  813. 000008AC  A858                     syscall    BitAnd
  814. 000008AE  4A9F                     tst.l      [A7]+
  815. 000008B0  6724                     beq        +0x26 /* 000008D6 */
  816. 000008B2  3F3C 001E                move.w     -[A7], 0x1E
  817. 000008B6  2F07                     move.l     -[A7], D7
  818. 000008B8  2F0B                     move.l     -[A7], A3
  819. 000008BA  3F3C 0002                move.w     -[A7], 0x2
  820. 000008BE  4267                     clr.w      -[A7]
  821. 000008C0  41EE FFEA                lea.l      A0, [A6 - 0x16]
  822. 000008C4  2F08                     move.l     -[A7], A0
  823. 000008C6  A86B                     syscall    LoWord
  824. 000008C8  4267                     clr.w      -[A7]
  825. 000008CA  41EE FFEA                lea.l      A0, [A6 - 0x16]
  826. 000008CE  2F08                     move.l     -[A7], A0
  827. 000008D0  A86A                     syscall    HiWord
  828. 000008D2  4EBA FDB4                jsr        [PC - 0x24C /* 00000688 */]
  829. label000008D6:
  830. 000008D6  0C6E FFFF FFEA           cmpi.w     [A6 - 0x16], 0xFFFF
  831. 000008DC  6700 01CC                beq        +0x1CE /* 00000AAA */
  832. 000008E0  4267                     clr.w      -[A7]
  833. 000008E2  486E FFEA                pea.l      [A6 - 0x16]
  834. 000008E6  A97F                     syscall    IsDialogEvent
  835. 000008E8  101F                     move.b     D0, [A7]+
  836. 000008EA  670C                     beq        +0xE /* 000008F8 */
  837. 000008EC  486E FFEA                pea.l      [A6 - 0x16]
  838. 000008F0  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  839. 000008F4  6000 01B4                bra        +0x1B6 /* 00000AAA */
  840. label000008F8:
  841. 000008F8  302E FFEA                move.w     D0, [A6 - 0x16]
  842. 000008FC  5340                     subq.w     D0, 1
  843. 000008FE  6716                     beq        +0x18 /* 00000916 */
  844. 00000900  5540                     subq.w     D0, 2
  845. 00000902  6700 00FE                beq        +0x100 /* 00000A02 */
  846. 00000906  5540                     subq.w     D0, 2
  847. 00000908  6700 00F8                beq        +0xFA /* 00000A02 */
  848. 0000090C  5340                     subq.w     D0, 1
  849. 0000090E  6700 0144                beq        +0x146 /* 00000A54 */
  850. 00000912  6000 018E                bra        +0x190 /* 00000AA2 */
  851. label00000916:
  852. 00000916  4267                     clr.w      -[A7]
  853. 00000918  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  854. 0000091C  486E FFFC                pea.l      [A6 - 0x4]
  855. 00000920  A92C                     syscall    FindWindow
  856. 00000922  3C1F                     move.w     D6, [A7]+
  857. 00000924  3006                     move.w     D0, D6
  858. 00000926  5340                     subq.w     D0, 1
  859. 00000928  6B00 00D4                bmi        +0xD6 /* 000009FE */
  860. 0000092C  0C40 0005                cmpi.w     D0, 0x5
  861. 00000930  6E00 00CC                bgt        +0xCE /* 000009FE */
  862. 00000934  E348                     lsl        D0.w, 1
  863. 00000936  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  864. 0000093A  4EFB 0000                jmp        [PC + D0.w]
  865. 0000093E  000E 00BA                ori.b      A6, 0xBA
  866. 00000942  0026 00BA                ori.b      -[A6], 0xBA
  867. 00000946  00BA 0088 4EAD 002A      ori.l      [PC + 0x2A /* 00000972, value 0xA91F604C */], 0x884EAD
  868. 0000094E  2F07                     move.l     -[A7], D7
  869. 00000950  2F0B                     move.l     -[A7], A3
  870. 00000952  42A7                     clr.l      -[A7]
  871. 00000954  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  872. 00000958  A93D                     syscall    MenuSelect
  873. 0000095A  4EBA FDD4                jsr        [PC - 0x22C /* 00000730 */]
  874. 0000095E  6000 014A                bra        +0x14C /* 00000AAA */
  875. 00000962  42A7                     clr.l      -[A7]
  876. 00000964  A924                     syscall    FrontWindow
  877. 00000966  202E FFFC                move.l     D0, [A6 - 0x4]
  878. 0000096A  B09F                     cmp.l      D0, [A7]+
  879. 0000096C  6708                     beq        +0xA /* 00000976 */
  880. 0000096E  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  881. 00000972  A91F                     syscall    SelectWindow
  882. 00000974  604C                     bra        +0x4E /* 000009C2 */
  883. label00000976:
  884. 00000976  202E FFFC                move.l     D0, [A6 - 0x4]
  885. 0000097A  B0AD FCBA                cmp.l      D0, [A5 - 0x346]
  886. 0000097E  57C0                     seq        D0
  887. 00000980  721E                     moveq.l    D1, 0x1E
  888. 00000982  3401                     move.w     D2, D1
  889. 00000984  E642                     asr        D2.w, 3
  890. 00000986  41ED FBC4                lea.l      A0, [A5 - 0x43C]
  891. 0000098A  0330 2000                btst       [A0 + D2.w], D1
  892. 0000098E  57C1                     seq        D1
  893. 00000990  8001                     or.b       D0, D1
  894. 00000992  6726                     beq        +0x28 /* 000009BA */
  895. 00000994  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  896. 00000998  A873                     syscall    SetPort
  897. 0000099A  486E FFF4                pea.l      [A6 - 0xC]
  898. 0000099E  A871                     syscall    GlobalToLocal
  899. 000009A0  3F3C 0006                move.w     -[A7], 0x6
  900. 000009A4  2F07                     move.l     -[A7], D7
  901. 000009A6  2F0B                     move.l     -[A7], A3
  902. 000009A8  3F3C 0002                move.w     -[A7], 0x2
  903. 000009AC  3F2E FFF6                move.w     -[A7], [A6 - 0xA]
  904. 000009B0  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  905. 000009B4  4EBA FCD2                jsr        [PC - 0x32E /* 00000688 */]
  906. 000009B8  6044                     bra        +0x46 /* 000009FE */
  907. label000009BA:
  908. 000009BA  486E FFEA                pea.l      [A6 - 0x16]
  909. 000009BE  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  910. label000009C2:
  911. 000009C2  603A                     bra        +0x3C /* 000009FE */
  912. 000009C4  202E FFFC                move.l     D0, [A6 - 0x4]
  913. 000009C8  B0AD FCBA                cmp.l      D0, [A5 - 0x346]
  914. 000009CC  670A                     beq        +0xC /* 000009D8 */
  915. 000009CE  486E FFEA                pea.l      [A6 - 0x16]
  916. 000009D2  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  917. 000009D6  6026                     bra        +0x28 /* 000009FE */
  918. label000009D8:
  919. 000009D8  4267                     clr.w      -[A7]
  920. 000009DA  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  921. 000009DE  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  922. 000009E2  A91E                     syscall    TrackGoAway
  923. 000009E4  101F                     move.b     D0, [A7]+
  924. 000009E6  670C                     beq        +0xE /* 000009F4 */
  925. 000009E8  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  926. 000009EC  A916                     syscall    HideWindow
  927. 000009EE  197C 0001 0005           move.b     [A4 + 0x5], 0x1
  928. label000009F4:
  929. 000009F4  6008                     bra        +0xA /* 000009FE */
  930. 000009F6  486E FFEA                pea.l      [A6 - 0x16]
  931. 000009FA  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  932. label000009FE:
  933. 000009FE  6000 00AA                bra        +0xAC /* 00000AAA */
  934. label00000A02:
  935. 00000A02  42A7                     clr.l      -[A7]
  936. 00000A04  A924                     syscall    FrontWindow
  937. 00000A06  201F                     move.l     D0, [A7]+
  938. 00000A08  B0AD FCBA                cmp.l      D0, [A5 - 0x346]
  939. 00000A0C  57C0                     seq        D0
  940. 00000A0E  721E                     moveq.l    D1, 0x1E
  941. 00000A10  3401                     move.w     D2, D1
  942. 00000A12  E642                     asr        D2.w, 3
  943. 00000A14  41ED FBC4                lea.l      A0, [A5 - 0x43C]
  944. 00000A18  0330 2000                btst       [A0 + D2.w], D1
  945. 00000A1C  57C1                     seq        D1
  946. 00000A1E  8001                     or.b       D0, D1
  947. 00000A20  6728                     beq        +0x2A /* 00000A4A */
  948. 00000A22  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  949. 00000A26  2F07                     move.l     -[A7], D7
  950. 00000A28  2F0B                     move.l     -[A7], A3
  951. 00000A2A  3F3C 0002                move.w     -[A7], 0x2
  952. 00000A2E  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  953. 00000A32  2F3C 0000 0100           move.l     -[A7], 0x100
  954. 00000A38  4EAD 019A                jsr        [A5 + 0x19A /* export_47 */]
  955. 00000A3C  201F                     move.l     D0, [A7]+
  956. 00000A3E  3F00                     move.w     -[A7], D0
  957. 00000A40  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  958. 00000A44  4EBA FC42                jsr        [PC - 0x3BE /* 00000688 */]
  959. 00000A48  6060                     bra        +0x62 /* 00000AAA */
  960. label00000A4A:
  961. 00000A4A  486E FFEA                pea.l      [A6 - 0x16]
  962. 00000A4E  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  963. 00000A52  6056                     bra        +0x58 /* 00000AAA */
  964. label00000A54:
  965. 00000A54  2D6E FFEC FFFC           move.l     [A6 - 0x4], [A6 - 0x14]
  966. 00000A5A  202E FFFC                move.l     D0, [A6 - 0x4]
  967. 00000A5E  B0AD FCBA                cmp.l      D0, [A5 - 0x346]
  968. 00000A62  57C0                     seq        D0
  969. 00000A64  721E                     moveq.l    D1, 0x1E
  970. 00000A66  3401                     move.w     D2, D1
  971. 00000A68  E642                     asr        D2.w, 3
  972. 00000A6A  41ED FBC4                lea.l      A0, [A5 - 0x43C]
  973. 00000A6E  0330 2000                btst       [A0 + D2.w], D1
  974. 00000A72  57C1                     seq        D1
  975. 00000A74  8001                     or.b       D0, D1
  976. 00000A76  6720                     beq        +0x22 /* 00000A98 */
  977. 00000A78  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  978. 00000A7C  A922                     syscall    BeginUpdate
  979. 00000A7E  3F3C 000E                move.w     -[A7], 0xE
  980. 00000A82  2F07                     move.l     -[A7], D7
  981. 00000A84  2F0B                     move.l     -[A7], A3
  982. 00000A86  4267                     clr.w      -[A7]
  983. 00000A88  4267                     clr.w      -[A7]
  984. 00000A8A  4267                     clr.w      -[A7]
  985. 00000A8C  4EBA FBFA                jsr        [PC - 0x406 /* 00000688 */]
  986. 00000A90  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  987. 00000A94  A923                     syscall    EndUpdate
  988. 00000A96  6012                     bra        +0x14 /* 00000AAA */
  989. label00000A98:
  990. 00000A98  486E FFEA                pea.l      [A6 - 0x16]
  991. 00000A9C  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  992. 00000AA0  6008                     bra        +0xA /* 00000AAA */
  993. label00000AA2:
  994. 00000AA2  486E FFEA                pea.l      [A6 - 0x16]
  995. 00000AA6  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  996. label00000AAA:
  997. 00000AAA  4A6E FFEA                tst.w      [A6 - 0x16]
  998. 00000AAE  57C0                     seq        D0
  999. 00000AB0  802C 0005                or.b       D0, [A4 + 0x5]
  1000. 00000AB4  0240 0001                andi.w     D0, 0x1
  1001. 00000AB8  6700 FDC4                beq        -0x23A /* 0000087E */
  1002. 00000ABC  426E FFEA                clr.w      [A6 - 0x16]
  1003. 00000AC0  4267                     clr.w      -[A7]
  1004. 00000AC2  486E FFEA                pea.l      [A6 - 0x16]
  1005. 00000AC6  A97F                     syscall    IsDialogEvent
  1006. 00000AC8  101F                     move.b     D0, [A7]+
  1007. 00000ACA  6712                     beq        +0x14 /* 00000ADE */
  1008. 00000ACC  4267                     clr.w      -[A7]
  1009. 00000ACE  486E FFEA                pea.l      [A6 - 0x16]
  1010. 00000AD2  486E FFE2                pea.l      [A6 - 0x1E]
  1011. 00000AD6  486E FFE0                pea.l      [A6 - 0x20]
  1012. 00000ADA  A980                     syscall    DialogSelect
  1013. 00000ADC  101F                     move.b     D0, [A7]+
  1014. label00000ADE:
  1015. 00000ADE  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  1016. 00000AE2  4E5E                     unlink     A6
  1017. 00000AE4  205F                     movea.l    A0, [A7]+
  1018. 00000AE6  504F                     addq.w     A7, 8
  1019. 00000AE8  4ED0                     jmp        [A0]
  1020. fn00000AEA:
  1021. 00000AEA  4E56 FFE6                link       A6, -0x001A
  1022. 00000AEE  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  1023. 00000AF2  2A2E 0008                move.l     D5, [A6 + 0x8]
  1024. 00000AF6  2045                     movea.l    A0, D5
  1025. 00000AF8  4AA8 0056                tst.l      [A0 + 0x56]
  1026. 00000AFC  6F00 00A4                ble        +0xA6 /* 00000BA2 */
  1027. 00000B00  2045                     movea.l    A0, D5
  1028. 00000B02  2028 0052                move.l     D0, [A0 + 0x52]
  1029. 00000B06  D085                     add.l      D0, D5
  1030. 00000B08  2640                     movea.l    A3, D0
  1031. 00000B0A  2045                     movea.l    A0, D5
  1032. 00000B0C  2F28 0056                move.l     -[A7], [A0 + 0x56]
  1033. 00000B10  7008                     moveq.l    D0, 0x08
  1034. 00000B12  2F00                     move.l     -[A7], D0
  1035. 00000B14  4EAD 0192                jsr        [A5 + 0x192 /* export_46 */]
  1036. 00000B18  201F                     move.l     D0, [A7]+
  1037. 00000B1A  3D40 FFEA                move.w     [A6 - 0x16], D0
  1038. 00000B1E  7E01                     moveq.l    D7, 0x01
  1039. 00000B20  607A                     bra        +0x7C /* 00000B9C */
  1040. label00000B22:
  1041. 00000B22  2005                     move.l     D0, D5
  1042. 00000B24  7268                     moveq.l    D1, 0x68
  1043. 00000B26  D081                     add.l      D0, D1
  1044. 00000B28  2207                     move.l     D1, D7
  1045. 00000B2A  E741                     asl        D1.w, 3
  1046. 00000B2C  2433 10F8                move.l     D2, [A3 + D1.w - 0x8]
  1047. 00000B30  D480                     add.l      D2, D0
  1048. 00000B32  2C02                     move.l     D6, D2
  1049. 00000B34  42A7                     clr.l      -[A7]
  1050. 00000B36  700E                     moveq.l    D0, 0x0E
  1051. 00000B38  2F00                     move.l     -[A7], D0
  1052. 00000B3A  4EAD 00CA                jsr        [A5 + 0xCA /* export_21 */]
  1053. 00000B3E  285F                     movea.l    A4, [A7]+
  1054. 00000B40  2D4C FFE6                move.l     [A6 - 0x1A], A4
  1055. 00000B44  206E FFE6                movea.l    A0, [A6 - 0x1A]
  1056. 00000B48  317C 0001 0004           move.w     [A0 + 0x4], 0x1
  1057. 00000B4E  206E FFE6                movea.l    A0, [A6 - 0x1A]
  1058. 00000B52  2146 0006                move.l     [A0 + 0x6], D6
  1059. 00000B56  2007                     move.l     D0, D7
  1060. 00000B58  E740                     asl        D0.w, 3
  1061. 00000B5A  206E FFE6                movea.l    A0, [A6 - 0x1A]
  1062. 00000B5E  3173 00FC 000A           move.w     [A0 + 0xA], [A3 + D0.w - 0x4]
  1063. 00000B64  2007                     move.l     D0, D7
  1064. 00000B66  E740                     asl        D0.w, 3
  1065. 00000B68  206E FFE6                movea.l    A0, [A6 - 0x1A]
  1066. 00000B6C  3173 00FE 000C           move.w     [A0 + 0xC], [A3 + D0.w - 0x2]
  1067. 00000B72  2007                     move.l     D0, D7
  1068. 00000B74  E740                     asl        D0.w, 3
  1069. 00000B76  41F3 00F8                lea.l      A0, [A3 + D0.w - 0x8]
  1070. 00000B7A  2808                     move.l     D4, A0
  1071. 00000B7C  2044                     movea.l    A0, D4
  1072. 00000B7E  208C                     move.l     [A0], A4
  1073. 00000B80  4267                     clr.w      -[A7]
  1074. 00000B82  2F0C                     move.l     -[A7], A4
  1075. 00000B84  4EAD 0182                jsr        [A5 + 0x182 /* export_44 */]
  1076. 00000B88  3D5F FFF4                move.w     [A6 - 0xC], [A7]+
  1077. 00000B8C  700A                     moveq.l    D0, 0x0A
  1078. 00000B8E  DC80                     add.l      D6, D0
  1079. 00000B90  41EC 000A                lea.l      A0, [A4 + 0xA]
  1080. 00000B94  2246                     movea.l    A1, D6
  1081. 00000B96  2288                     move.l     [A1], A0
  1082. 00000B98  5247                     addq.w     D7, 1
  1083. 00000B9A  6906                     bvs        +0x8 /* 00000BA2 */
  1084. label00000B9C:
  1085. 00000B9C  BE6E FFEA                cmp.w      D7, [A6 - 0x16]
  1086. 00000BA0  6F80                     ble        -0x7E /* 00000B22 */
  1087. label00000BA2:
  1088. 00000BA2  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  1089. 00000BA6  4E5E                     unlink     A6
  1090. 00000BA8  2E9F                     move.l     [A7], [A7]+
  1091. 00000BAA  4E75                     rts
  1092. fn00000BAC:
  1093. 00000BAC  4E56 FFF6                link       A6, -0x000A
  1094. 00000BB0  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  1095. 00000BB4  266E 0008                movea.l    A3, [A6 + 0x8]
  1096. 00000BB8  4AAB 0056                tst.l      [A3 + 0x56]
  1097. 00000BBC  6F3A                     ble        +0x3C /* 00000BF8 */
  1098. 00000BBE  202B 0052                move.l     D0, [A3 + 0x52]
  1099. 00000BC2  D08B                     add.l      D0, A3
  1100. 00000BC4  2840                     movea.l    A4, D0
  1101. 00000BC6  2F2B 0056                move.l     -[A7], [A3 + 0x56]
  1102. 00000BCA  7008                     moveq.l    D0, 0x08
  1103. 00000BCC  2F00                     move.l     -[A7], D0
  1104. 00000BCE  4EAD 0192                jsr        [A5 + 0x192 /* export_46 */]
  1105. 00000BD2  201F                     move.l     D0, [A7]+
  1106. 00000BD4  3D40 FFF6                move.w     [A6 - 0xA], D0
  1107. 00000BD8  7E01                     moveq.l    D7, 0x01
  1108. 00000BDA  6016                     bra        +0x18 /* 00000BF2 */
  1109. label00000BDC:
  1110. 00000BDC  4267                     clr.w      -[A7]
  1111. 00000BDE  2007                     move.l     D0, D7
  1112. 00000BE0  E740                     asl        D0.w, 3
  1113. 00000BE2  41F4 00F8                lea.l      A0, [A4 + D0.w - 0x8]
  1114. 00000BE6  2F10                     move.l     -[A7], [A0]
  1115. 00000BE8  4EAD 018A                jsr        [A5 + 0x18A /* export_45 */]
  1116. 00000BEC  3C1F                     move.w     D6, [A7]+
  1117. 00000BEE  5247                     addq.w     D7, 1
  1118. 00000BF0  6906                     bvs        +0x8 /* 00000BF8 */
  1119. label00000BF2:
  1120. 00000BF2  BE6E FFF6                cmp.w      D7, [A6 - 0xA]
  1121. 00000BF6  6FE4                     ble        -0x1A /* 00000BDC */
  1122. label00000BF8:
  1123. 00000BF8  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  1124. 00000BFC  4E5E                     unlink     A6
  1125. 00000BFE  2E9F                     move.l     [A7], [A7]+
  1126. 00000C00  4E75                     rts
  1127. fn00000C02:
  1128. 00000C02  4E56 FFFC                link       A6, -0x0004
  1129. 00000C06  48E7 0118                movem.l    -[A7], D7,A3,A4
  1130. 00000C0A  266E 000C                movea.l    A3, [A6 + 0xC]
  1131. 00000C0E  2E2E 0008                move.l     D7, [A6 + 0x8]
  1132. 00000C12  2007                     move.l     D0, D7
  1133. 00000C14  7216                     moveq.l    D1, 0x16
  1134. 00000C16  9081                     sub.l      D0, D1
  1135. 00000C18  2840                     movea.l    A4, D0
  1136. 00000C1A  3F3C FFFF                move.w     -[A7], 0xFFFF
  1137. 00000C1E  4267                     clr.w      -[A7]
  1138. 00000C20  201F                     move.l     D0, [A7]+
  1139. 00000C22  A032                     syscall    FlushEvents
  1140. 00000C24  422C 0005                clr.b      [A4 + 0x5]
  1141. 00000C28  422D FBCC                clr.b      [A5 - 0x434]
  1142. 00000C2C  3F3C 0002                move.w     -[A7], 0x2
  1143. 00000C30  2F0B                     move.l     -[A7], A3
  1144. 00000C32  2F07                     move.l     -[A7], D7
  1145. 00000C34  4267                     clr.w      -[A7]
  1146. 00000C36  4267                     clr.w      -[A7]
  1147. 00000C38  4267                     clr.w      -[A7]
  1148. 00000C3A  4EBA FA4C                jsr        [PC - 0x5B4 /* 00000688 */]
  1149. 00000C3E  2F0B                     move.l     -[A7], A3
  1150. 00000C40  4EBA FEA8                jsr        [PC - 0x158 /* 00000AEA */]
  1151. label00000C44:
  1152. 00000C44  102C 0005                move.b     D0, [A4 + 0x5]
  1153. 00000C48  0A00 0001                xori.b     D0, 0x1
  1154. 00000C4C  6726                     beq        +0x28 /* 00000C74 */
  1155. 00000C4E  2F0B                     move.l     -[A7], A3
  1156. 00000C50  2F07                     move.l     -[A7], D7
  1157. 00000C52  4EBA FC12                jsr        [PC - 0x3EE /* 00000866 */]
  1158. 00000C56  102C 0005                move.b     D0, [A4 + 0x5]
  1159. 00000C5A  0A00 0001                xori.b     D0, 0x1
  1160. 00000C5E  6712                     beq        +0x14 /* 00000C72 */
  1161. 00000C60  3F3C 0016                move.w     -[A7], 0x16
  1162. 00000C64  2F0B                     move.l     -[A7], A3
  1163. 00000C66  2F07                     move.l     -[A7], D7
  1164. 00000C68  4267                     clr.w      -[A7]
  1165. 00000C6A  4267                     clr.w      -[A7]
  1166. 00000C6C  4267                     clr.w      -[A7]
  1167. 00000C6E  4EBA FA18                jsr        [PC - 0x5E8 /* 00000688 */]
  1168. label00000C72:
  1169. 00000C72  60D0                     bra        -0x2E /* 00000C44 */
  1170. label00000C74:
  1171. 00000C74  2F0B                     move.l     -[A7], A3
  1172. 00000C76  4EBA FF34                jsr        [PC - 0xCC /* 00000BAC */]
  1173. 00000C7A  102D FBCC                move.b     D0, [A5 - 0x434]
  1174. 00000C7E  0A00 0001                xori.b     D0, 0x1
  1175. 00000C82  6712                     beq        +0x14 /* 00000C96 */
  1176. 00000C84  3F3C 0012                move.w     -[A7], 0x12
  1177. 00000C88  2F0B                     move.l     -[A7], A3
  1178. 00000C8A  2F07                     move.l     -[A7], D7
  1179. 00000C8C  4267                     clr.w      -[A7]
  1180. 00000C8E  4267                     clr.w      -[A7]
  1181. 00000C90  4267                     clr.w      -[A7]
  1182. 00000C92  4EBA F9F4                jsr        [PC - 0x60C /* 00000688 */]
  1183. label00000C96:
  1184. 00000C96  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  1185. 00000C9A  4E5E                     unlink     A6
  1186. 00000C9C  205F                     movea.l    A0, [A7]+
  1187. 00000C9E  504F                     addq.w     A7, 8
  1188. 00000CA0  4ED0                     jmp        [A0]
  1189. fn00000CA2:
  1190. 00000CA2  4E56 0000                link       A6, 0
  1191. 00000CA6  41ED FBDC                lea.l      A0, [A5 - 0x424]
  1192. 00000CAA  43ED FAD6                lea.l      A1, [A5 - 0x52A]
  1193. 00000CAE  7010                     moveq.l    D0, 0x10
  1194. label00000CB0:
  1195. 00000CB0  20D9                     move.l     [A0]+, [A1]+
  1196. 00000CB2  5340                     subq.w     D0, 1
  1197. 00000CB4  6EFA                     bgt        -0x4 /* 00000CB0 */
  1198. 00000CB6  3B6D FAD4 FBD4           move.w     [A5 - 0x42C], [A5 - 0x52C]
  1199. 00000CBC  4267                     clr.w      -[A7]
  1200. 00000CBE  486D FBDC                pea.l      [A5 - 0x424]
  1201. 00000CC2  3F2D FBD4                move.w     -[A7], [A5 - 0x42C]
  1202. 00000CC6  486D FBDA                pea.l      [A5 - 0x426]
  1203. 00000CCA  486D FBD6                pea.l      [A5 - 0x42A]
  1204. 00000CCE  4EAD 03C2                jsr        [A5 + 0x3C2 /* export_116 */]
  1205. 00000CD2  1D5F 0008                move.b     [A6 + 0x8], [A7]+
  1206. 00000CD6  41ED 03C2                lea.l      A0, [A5 + 0x3C2 /* export_116 */]
  1207. 00000CDA  2F08                     move.l     -[A7], A0
  1208. 00000CDC  A9F1                     syscall    UnloadSeg
  1209. 00000CDE  4EAD 03AA                jsr        [A5 + 0x3AA /* export_113 */]
  1210. 00000CE2  41ED 03AA                lea.l      A0, [A5 + 0x3AA /* export_113 */]
  1211. 00000CE6  2F08                     move.l     -[A7], A0
  1212. 00000CE8  A9F1                     syscall    UnloadSeg
  1213. 00000CEA  422D FAD6                clr.b      [A5 - 0x52A]
  1214. 00000CEE  4E5E                     unlink     A6
  1215. 00000CF0  4E75                     rts
  1216. export_63:
  1217. 00000CF2  4E56 FFF6                link       A6, -0x000A
  1218. 00000CF6  2F07                     move.l     -[A7], D7
  1219. 00000CF8  486D FD1C                pea.l      [A5 - 0x2E4]
  1220. 00000CFC  A851                     syscall    SetCursor
  1221. label00000CFE:
  1222. 00000CFE  42AE FFF8                clr.l      [A6 - 0x8]
  1223. 00000D02  42AE FFFC                clr.l      [A6 - 0x4]
  1224. 00000D06  4207                     clr.b      D7
  1225. 00000D08  486D FAD6                pea.l      [A5 - 0x52A]
  1226. 00000D0C  487A 00F2                pea.l      [PC + 0xF2 /* 00000E00, value 0xF52, cstring "" */]
  1227. 00000D10  4EAD 01AA                jsr        [A5 + 0x1AA /* export_49 */]
  1228. 00000D14  101F                     move.b     D0, [A7]+
  1229. 00000D16  6708                     beq        +0xA /* 00000D20 */
  1230. 00000D18  4267                     clr.w      -[A7]
  1231. 00000D1A  4EBA FF86                jsr        [PC - 0x7A /* 00000CA2 */]
  1232. 00000D1E  1E1F                     move.b     D7, [A7]+
  1233. label00000D20:
  1234. 00000D20  2007                     move.l     D0, D7
  1235. 00000D22  0A00 0001                xori.b     D0, 0x1
  1236. 00000D26  6700 00BA                beq        +0xBC /* 00000DE2 */
  1237. 00000D2A  486E FFF8                pea.l      [A6 - 0x8]
  1238. 00000D2E  4EBA F562                jsr        [PC - 0xA9E /* 00000292 */]
  1239. 00000D32  41ED 03B2                lea.l      A0, [A5 + 0x3B2 /* export_114 */]
  1240. 00000D36  2F08                     move.l     -[A7], A0
  1241. 00000D38  A9F1                     syscall    UnloadSeg
  1242. 00000D3A  102D FBD3                move.b     D0, [A5 - 0x42D]
  1243. 00000D3E  0A00 0001                xori.b     D0, 0x1
  1244. 00000D42  6760                     beq        +0x62 /* 00000DA4 */
  1245. 00000D44  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1246. 00000D48  486E FFFC                pea.l      [A6 - 0x4]
  1247. 00000D4C  4EBA F644                jsr        [PC - 0x9BC /* 00000392 */]
  1248. 00000D50  701E                     moveq.l    D0, 0x1E
  1249. 00000D52  3200                     move.w     D1, D0
  1250. 00000D54  E641                     asr        D1.w, 3
  1251. 00000D56  41ED FBC4                lea.l      A0, [A5 - 0x43C]
  1252. 00000D5A  0130 1000                btst       [A0 + D1.w], D0
  1253. 00000D5E  6714                     beq        +0x16 /* 00000D74 */
  1254. 00000D60  102D FBCD                move.b     D0, [A5 - 0x433]
  1255. 00000D64  0A00 0001                xori.b     D0, 0x1
  1256. 00000D68  670A                     beq        +0xC /* 00000D74 */
  1257. 00000D6A  2F2D FCBA                move.l     -[A7], [A5 - 0x346]
  1258. 00000D6E  486D FBDC                pea.l      [A5 - 0x424]
  1259. 00000D72  A91A                     syscall    SetWTitle
  1260. label00000D74:
  1261. 00000D74  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1262. 00000D78  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1263. 00000D7C  4EBA FE84                jsr        [PC - 0x17C /* 00000C02 */]
  1264. 00000D80  701E                     moveq.l    D0, 0x1E
  1265. 00000D82  3200                     move.w     D1, D0
  1266. 00000D84  E641                     asr        D1.w, 3
  1267. 00000D86  41ED FBC4                lea.l      A0, [A5 - 0x43C]
  1268. 00000D8A  0130 1000                btst       [A0 + D1.w], D0
  1269. 00000D8E  6714                     beq        +0x16 /* 00000DA4 */
  1270. 00000D90  102D FBCD                move.b     D0, [A5 - 0x433]
  1271. 00000D94  0A00 0001                xori.b     D0, 0x1
  1272. 00000D98  670A                     beq        +0xC /* 00000DA4 */
  1273. 00000D9A  2F2D FCBA                move.l     -[A7], [A5 - 0x346]
  1274. 00000D9E  487A 0062                pea.l      [PC + 0x62 /* 00000E02, value 0xF526173, pstring "Rascal Executor" */]
  1275. 00000DA2  A91A                     syscall    SetWTitle
  1276. label00000DA4:
  1277. 00000DA4  4AAE FFF8                tst.l      [A6 - 0x8]
  1278. 00000DA8  6708                     beq        +0xA /* 00000DB2 */
  1279. 00000DAA  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1280. 00000DAE  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  1281. label00000DB2:
  1282. 00000DB2  4AAE FFFC                tst.l      [A6 - 0x4]
  1283. 00000DB6  670E                     beq        +0x10 /* 00000DC6 */
  1284. 00000DB8  202E FFFC                move.l     D0, [A6 - 0x4]
  1285. 00000DBC  7216                     moveq.l    D1, 0x16
  1286. 00000DBE  9081                     sub.l      D0, D1
  1287. 00000DC0  2F00                     move.l     -[A7], D0
  1288. 00000DC2  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  1289. label00000DC6:
  1290. 00000DC6  0C6D FFFF FAD2           cmpi.w     [A5 - 0x52E], 0xFFFF
  1291. 00000DCC  56C0                     sne        D0
  1292. 00000DCE  322D FAD2                move.w     D1, [A5 - 0x52E]
  1293. 00000DD2  B26D FD9C                cmp.w      D1, [A5 - 0x264]
  1294. 00000DD6  56C1                     sne        D1
  1295. 00000DD8  C001                     and.b      D0, D1
  1296. 00000DDA  6706                     beq        +0x8 /* 00000DE2 */
  1297. 00000DDC  3F2D FAD2                move.w     -[A7], [A5 - 0x52E]
  1298. 00000DE0  A99A                     syscall    CloseResFile
  1299. label00000DE2:
  1300. 00000DE2  486D FAD6                pea.l      [A5 - 0x52A]
  1301. 00000DE6  487A 0018                pea.l      [PC + 0x18 /* 00000E00, value 0xF52, cstring "" */]
  1302. 00000DEA  4EAD 01A2                jsr        [A5 + 0x1A2 /* export_48 */]
  1303. 00000DEE  101F                     move.b     D0, [A7]+
  1304. 00000DF0  802D FBD3                or.b       D0, [A5 - 0x42D]
  1305. 00000DF4  8007                     or.b       D0, D7
  1306. 00000DF6  6700 FF06                beq        -0xF8 /* 00000CFE */
  1307. 00000DFA  2E1F                     move.l     D7, [A7]+
  1308. 00000DFC  4E5E                     unlink     A6
  1309. 00000DFE  4E75                     rts
  1310. 00000E00  0000 0F52                ori.b      D0, 0x52 /* 'R' */
  1311. 00000E04  6173                     bsr        +0x75 /* 00000E79 */
  1312. 00000E06  6361                     bls        +0x63 /* 00000E69 */
  1313. 00000E08  6C20                     bge        +0x22 /* 00000E2A */
  1314. 00000E0A  4578 6563                chk.w      D2, [0x00006563]
  1315. 00000E0E  7574                     moveq.l    D2, 0x74
  1316. 00000E10  6F72                     ble        +0x74 /* 00000E84 */
  1317. export_65:
  1318. 00000E12  4E56 0000                link       A6, 0
  1319. 00000E16  4E5E                     unlink     A6
  1320. 00000E18  4E75                     rts
  1321.